﻿// =================================================================== 
// 项目说明
//====================================================================
// Wup。@Copy Right 2014
// 文件： user1.cs
// 项目名称：买车网
// 创建时间：2014/12/23
// 负责人：Wup
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using Weixin.DAL.ChinaTax;
using Weixin.Entity.ChinaTax;

namespace Weixin.BLL.ChinaTax
{
    public partial class user1BLL : BaseBLL< user1BLL>

    {
        user1DataAccessLayer user1dal;
        public user1BLL()
        {
            user1dal = new user1DataAccessLayer();
        }

        public int Insert(user1Entity user1Entity)
        {
            return user1dal.Insert(user1Entity);            
        }

        public void Update(user1Entity user1Entity)
        {
            user1dal.Update(user1Entity);
        }

        public user1Entity GetAdminSingle(int iD)
        {
           return user1dal.Get_user1Entity(iD);
        }

        public IList<user1Entity> Getuser1List()
        {
            IList<user1Entity> user1List = new List<user1Entity>();
            user1List=user1dal.Get_user1All();
            return user1List;
        }

        public int Register(string email,string mobile,string password,string recommandUser,string IP)
        {
            return user1dal.Register(email, mobile, password, recommandUser, IP);
        }
    }
}
